<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>error</title>
</head>
<body>
<h1>Error</h1>

Error Msg: <span th:text="${msg}"> error</span>

</body>
</html>